]> dgit.raspbian.org Git - gnome-shell.git/commit
notificationDaemon: Fix auto-closing FDO notifications
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 20 Feb 2024 18:46:19 +0000 (19:46 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 20 Feb 2024 20:09:32 +0000 (21:09 +0100)
commit9af81e44bc4f71cf94417bf8824edf5d287eee1c
tree3867e982907738ea06ccbf44787e3987c8ebf5fd
parentf0b1cf5f8de2168004c67d3e7318a772c644a627
notificationDaemon: Fix auto-closing FDO notifications

We auto-close FDO notifications when the sender leaves the bus,
given that the protocol was created without persistency in mind
and any action will become invalid.

However that broke when moving the public-facing implementation
into a separate service, as we now track the (always running)
service instead of the original sender.

Fix that by forwarding the sender to the internal implementation
via a private hint, just like we already do for the PID.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3204>
js/dbusServices/notifications/notificationDaemon.js
js/ui/notificationDaemon.js